package cn.bluedot.model;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * @author wangxin
 *
 */
public class Pig{
    //猪只编号
    private String pigNo;

    //性别
    private Integer sex;
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    //出生日期
    private Date birthTime;

    //猪种ID
    private Integer pigTypeId;

    //生长期ID
    private Integer growthStateId;

    //猪只状态（0正常，1异常，2疑似异常）
    private Integer state;

    //父耳号
    private String fatherNo;

    //母耳号
    private String motherNo;

    //产地
    private String orignPlace;

    //当前所在猪栏
    private String hogcoteNo;

    public void setPigNo(String pigNo){
        this.pigNo = pigNo;
    }

    public String getPigNo(){
        return pigNo;
    }

    public void setSex(Integer sex){
        this.sex = sex;
    }

    public Integer getSex(){
        return sex;
    }

    public void setBirthTime(Date birthTime){
        this.birthTime = birthTime;
    }

    public Date getBirthTime(){
        return birthTime;
    }

    public void setPigTypeId(Integer pigTypeId){
        this.pigTypeId = pigTypeId;
    }

    public Integer getPigTypeId(){
        return pigTypeId;
    }

    public void setGrowthStateId(Integer growthStateId){
        this.growthStateId = growthStateId;
    }

    public Integer getGrowthStateId(){
        return growthStateId;
    }

    public void setState(Integer state){
        this.state = state;
    }

    public Integer getState(){
        return state;
    }

    public void setFatherNo(String fatherNo){
        this.fatherNo = fatherNo;
    }

    public String getFatherNo(){
        return fatherNo;
    }

    public void setMotherNo(String motherNo){
        this.motherNo = motherNo;
    }

    public String getMotherNo(){
        return motherNo;
    }

    public void setOrignPlace(String orignPlace){
        this.orignPlace = orignPlace;
    }

    public String getOrignPlace(){
        return orignPlace;
    }

    public void setHogcoteNo(String hogcoteNo){
        this.hogcoteNo = hogcoteNo;
    }

    public String getHogcoteNo(){
        return hogcoteNo;
    }

}